//
//  HttpRequestImpl.swift
//  mggz
//
//  Created by 匀视网Mac on 2018/5/22.
//  Copyright © 2018年 爱丽丝的梦境. All rights reserved.
//

import Foundation

struct HttpRequestImpl {
    
    //设备注册
    static func registDevice(_ deviceid:String,_jpushID jpushID:String){
        var params:[String:Any] = ["clientType":"1","productType":"2","clientID":jpushID]
        MNetHttp.sharedInstance.postSingle(API_CALL_METHOD, method: .DEVIDEREGISE, params: &params, type: RegistModel.self, success: { (bean,_) in
            
        }) { (error) in
            
        }
    }
}
